@PACKAGE_INIT@

set(NVSHMEM_VERSION @PACKAGE_VERSION@)

set_and_check(NVSHMEM_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
set_and_check(NVSHMEM_LIB_DIR "@PACKAGE_LIB_INSTALL_DIR@")

include(CMakeFindDependencyMacro)

check_required_components(NVSHMEM)

# Capturing values from configure (optional)
set(my-config-var @my-config-var@)

# Add the targets file
include(${CMAKE_CURRENT_LIST_DIR}/NVSHMEMTargets.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/NVSHMEMDeviceTargets.cmake)